From 91809b505459e7bcdd59786a1b7858e633bf9bf7 Mon Sep 17 00:00:00 2001 From: robertl Date: Sun, 17 Nov 2002 02:39:56 +0000 Subject: [PATCH] Look in text field, too... git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@167 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/magproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/magproto.c b/gpsbabel/magproto.c index 72d4568de..704dd3bfa 100644 --- a/gpsbabel/magproto.c +++ b/gpsbabel/magproto.c @@ -978,7 +978,7 @@ mag_waypt_pr(const waypoint *waypointp) isrc = waypointp->notes ? waypointp->notes : waypointp->description; owpt = global_opts.synthesize_shortnames ? mkshort(isrc) : waypointp->shortname, - odesc = waypointp->description ? waypointp->description : ""; + odesc = isrc ? isrc : ""; owpt = mag_cleanse(owpt); odesc = mag_cleanse(odesc); -- 2.30.2